package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.StorehouseStoreCombination;
import org.jeecg.modules.company.facade.IStorehouseStoreCombinationFacade;
import org.jeecg.modules.company.service.IStorehouseStoreCombinationService;
import org.jeecg.modules.company.vo.StorehouseStoreCombinationVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 仓库产品配置库存
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class StorehouseStoreCombinationFacadeImpl extends IFacadeImpl<StorehouseStoreCombinationVo, StorehouseStoreCombination, IStorehouseStoreCombinationService>  implements IStorehouseStoreCombinationFacade<StorehouseStoreCombinationVo, StorehouseStoreCombination> {
        @Autowired
        private IStorehouseStoreCombinationService storehouseStoreCombinationService;


         @Override
         public StorehouseStoreCombination po2Vo(StorehouseStoreCombinationVo vo) {
                StorehouseStoreCombination po = new StorehouseStoreCombination();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public StorehouseStoreCombinationVo vo2Po(StorehouseStoreCombination po) {
                StorehouseStoreCombinationVo vo = new StorehouseStoreCombinationVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
